package com.qf.java2105.huangchuang.hotel.service;

import com.alibaba.druid.util.StringUtils;
import com.qf.java2105.huangchuang.hotel.entity.PageBean;
import com.qf.java2105.huangchuang.hotel.entity.ResultVO;
import com.qf.java2105.huangchuang.hotel.pojo.Food;

/**
 * 前台业务层接口
 * @author hcvg
 * @version v1.0
 * @date 2021/09/15
 **/
public interface IFrontService {

    /**
     * 通过条件查询并分页显示菜品数据
     * @param currentPage
     * @param pageSize
     * @param typeId
     * @param foodName
     * @return
     */
    ResultVO<PageBean<Food>> findByPageWithCondition(Integer currentPage, Integer pageSize, Integer typeId, String foodName);
}
